import {
	createRouter,
	__dynamicImportComponent__
} from '@/uni_modules/uni-simple-router'

// var indexComp = __dynamicImportComponent__("@/pages/index/index-comp.vue")
// var taskComp = __dynamicImportComponent__("@/pages/job/user/job-enrolls/job-enrolls-comp.vue")
// var manageComp = __dynamicImportComponent__("@/pages/job/publish/job-manager/job-manager-comp.vue")
//var mineComp = __dynamicImportComponent__("@/pages/mine/mine-comp.vue")

const router = createRouter({
	platform: process.env.VUE_APP_PLATFORM,
	h5: {
		animation: {
			// 什么动作下执行动画
			includeNavtype: [`push`, `back`],
			// 动画时长单位秒
			animationTime: 0.3,
			// 做动画的节点 整个应用都做
			animationAppEl: `#app`,
			// 默认做动画名
			defaultAnimationType: `animate__slideInRight`,
			// 装载的动画库
			animationNodeMap: {
				// 动画名
				'animate__slideInRight': [
					// 前进时触发的动画
					[`animate__slideInRight`, `animate__slideOutLeft`],
					// 后退时触发的动画
					[`animate__slideInLeft`, `animate__slideOutRight`],
				],
			},
			animationAppEl: (to, from) => {
				// console.log(to)
				if (to.meta.disable_animation || from.meta.disable_animation) {
					// 关闭动画效果，返回null
					return null;
				}

				// 默认应用动画效果，返回整个应用的根元素选择器
				return document.querySelector('#app');
			},
		}
	},
	routes: [{
			path: "/",
			redirect: '/market',
			component: __dynamicImportComponent__("@/pages/index/index-layout.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			}),
			children: [{
					path: "market",
					redirect: '/market/market',
					component: __dynamicImportComponent__("@/pages/market/market-layout.vue"),
					children: [{
							path: "market",
							component: __dynamicImportComponent__("@/pages/market/job-index.vue"),

						},
						{
							path: "social",
							component: __dynamicImportComponent__("@/pages/market/social.vue"),
						},
					]
				},
				{
					path: "task",
					component: __dynamicImportComponent__("@/pages/job/user/job-enrolls/job-enrolls-comp.vue"),
					meta: {
						requireLogin: true
					}
				},
				{
					path: "job-manager",
					redirect: '/job-manager/layout',
					component: __dynamicImportComponent__(
						"@/pages/job/publish/job-manager/job-manager-layout.vue"),
					children: [
							{
								path: "layout",
								components: {
									project: __dynamicImportComponent__(
										"@/pages/job/publish/job-manager/swiper-items/manager/manager.vue"
									),
									calendar: __dynamicImportComponent__(
										"@/pages/job/publish/job-manager/swiper-items/calendar/calendar.vue"
									),
									recent: __dynamicImportComponent__(
										"@/pages/job/publish/job-manager/swiper-items/recent/recent.vue"
									)
								},
								meta:{
									requireLogin:true
								},
								//children:[]
						},
					]
				},
				{
					path: "mine",
					component: __dynamicImportComponent__("@/pages/mine/mine-comp.vue"),
					meta:{
						requireLogin:true
					}
				}
			]
		},
		{
			path: "/tasks_manage",
			component: __dynamicImportComponent__("@/pages/job/publish/job-manager/manager.vue",{
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					//"navigationStyle": "custom"
				}
			}),
			meta:{
				requireLogin:true
			}
		},
		// 内容-详情
		{
			path: "/diy_page",
			component: __dynamicImportComponent__("@/pages/diy_page.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		// 内容-详情
		{
			path: "/typecho/contents/info",
			component: __dynamicImportComponent__("@/pages/personal/article/info.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/typecho/contents/contentlist",
			component: __dynamicImportComponent__("@/pages/personal/article/contentlist.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-用户模块-用户动态空间
		{
			path: "/typecho/space/userinfo",
			component: __dynamicImportComponent__("@/pages/personal/space/userinfo.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/personal/article/find",
			component: __dynamicImportComponent__("@/pages/personal/article/find.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		// 所有分类选择
		{
			path: "/personal/article/allcategory",
			component: __dynamicImportComponent__("@/pages/personal/article/allcategory.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		// 所有标签选择
		{
			path: "/personal/article/alltag",
			component: __dynamicImportComponent__("@/pages/personal/article/alltag.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		// 推荐文章列表
		{
			path: "/personal/article/recommend",
			component: __dynamicImportComponent__("@/pages/personal/article/recommend.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		// 随机文章列表
		{
			path: "/personal/article/randlist",
			component: __dynamicImportComponent__("@/pages/personal/article/randlist.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//个人-管理中心
		{
			path: "/personal/center",
			component: __dynamicImportComponent__("@/pages/personal/user.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//个人-个人设置
		{
			path: "/personal/user/useredit",
			component: __dynamicImportComponent__("@/pages//personal/user/useredit", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//个人-个人设置-邮箱设置
		{
			path: "/personal/user/mailedit",
			component: __dynamicImportComponent__("@/pages//personal/user/mailedit", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//个人-个人设置-背景图
		{
			path: "/personal/user/userBg",
			component: __dynamicImportComponent__("@/pages//personal/user/userBg", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//个人-个人设置-账户提现
		{
			path: "/personal/user/withdrawSetting",
			component: __dynamicImportComponent__("@/pages//personal/user/withdrawSetting", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//个人-个人设置-账户提现
		{
			path: "/personal/user/addressSetting",
			component: __dynamicImportComponent__("@/pages//personal/user/addressSetting", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//个人-个人设置-三方账号设置
		{
			path: "/personal/user/thirdSetting",
			component: __dynamicImportComponent__("@/pages//personal/user/thirdSetting", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		// 个人- 关注管理
		{
			path: "/personal/user/followList",
			component: __dynamicImportComponent__("@/pages//personal/feedback/followList", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		// 个人- 收藏管理
		{
			path: "/personal/user/usermark",
			component: __dynamicImportComponent__("@/pages//personal/feedback/usermark", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		// 个人- 资产 充值提现
		{
			path: "/personal/assets/assets",
			component: __dynamicImportComponent__("@/pages//personal/assets/assets", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		// 个人- 资产 - 充值
		{
			path: "/personal/assets/userrecharge",
			component: __dynamicImportComponent__("@/pages//personal/assets/userrecharge", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		// 个人- 资产 - 提现
		{
			path: "/personal/assets/userwithdraw",
			component: __dynamicImportComponent__("@/pages//personal/assets/userwithdraw", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		// 个人- 资产 - 提现 - 记录列表
		{
			path: "/personal/assets/userwithdrawlist",
			component: __dynamicImportComponent__("@/pages//personal/assets/userwithdrawlist", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		// 个人- 资产 - 提现 - 记录列表
		{
			path: "/personal/assets/buyvip",
			component: __dynamicImportComponent__("@/pages//personal/assets/buyvip", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//个人 - 文章管理
		{
			path: "/personal/article",
			component: __dynamicImportComponent__("@/pages/personal/article/userpost.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//个人 - 文章管理 - 编辑器 富文本
		{
			path: "/personal/article/rich",
			component: __dynamicImportComponent__("@/pages/personal/article/richEdditor.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			}),
			meta: {
				disable_animation: true
			}
		},
		//个人 - 文章管理 - 编辑器 Markdown
		{
			path: "/personal/article/markdown",
			component: __dynamicImportComponent__("@/pages/personal/article/markdownEditor.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//个人 - 文章管理 - 草稿箱
		{
			path: "/personal/article/draftList",
			component: __dynamicImportComponent__("@/pages/personal/article/draftList.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//个人 - 空间动态
		{
			path: "/personal/space",
			component: __dynamicImportComponent__("@/pages/personal/space/mySpace.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//个人 - 商品管理
		{
			path: "/personal/shop",
			component: __dynamicImportComponent__("@/pages/personal/shop/myshop.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//个人 - 商品管理 - 新增商品
		{
			path: "/personal/shop/addshop",
			component: __dynamicImportComponent__("@/pages/personal/shop/addshop.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			}),
			meta: {
				disable_animation: true
			}
		},
		//个人 - 商品管理 - 出售订单
		{
			path: "/personal/shop/sellorder",
			component: __dynamicImportComponent__("@/pages/personal/shop/sellorder.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//个人 - 订单管理
		{
			path: "/personal/trade/order",
			component: __dynamicImportComponent__("@/pages/personal/trade/order.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//个人 - 消息通知
		{
			path: "/personal/inbox",
			component: __dynamicImportComponent__("@/pages/personal/inbox/inbox.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		// 个人- 账户设置
		{
			path: "/personal/user/setup",
			component: __dynamicImportComponent__("@/pages//personal/user/setup", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		// 个人 - 社交媒体 
		{
			path: "/personal/user/media",
			component: __dynamicImportComponent__("@/pages//personal/user/media", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		// 个人- 关于
		{
			path: "/personal/user/about",
			component: __dynamicImportComponent__("@/pages//personal/user/about", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//文章富文本编辑器 articlePost(rich-editor)
		{
			path: "/pages/editor/editor",
			component: __dynamicImportComponent__("@/pages/personal/article/richEdditor.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-管理中台
		{
			path: "/site-center/manage",
			component: __dynamicImportComponent__("@/pages/site-center/manage.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-用户模块-用户管理
		{
			path: "/site-center/users/users",
			component: __dynamicImportComponent__("@/pages/site-center/users/users.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-用户模块-用户管理-编辑
		{
			path: "/site-center/users/usersedit",
			component: __dynamicImportComponent__("@/pages/site-center/users/usersedit.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-用户模块-向用户发送消息
		{
			path: "/site-center/users/senduser",
			component: __dynamicImportComponent__("@/pages/site-center/users/senduser.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-用户模块-邀请码管理
		{
			path: "/site-center/users/invitation",
			component: __dynamicImportComponent__("@/pages/site-center/users/invitation.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-用户模块-常规用户数据
		{
			path: "/site-center/users/clean",
			component: __dynamicImportComponent__("@/pages/site-center/users/clean.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-用户模块-用户数据清理
		{
			path: "/site-center/users/userClean",
			component: __dynamicImportComponent__("@/pages/site-center/users/userClean.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-用户模块-封禁用户
		{
			path: "/site-center/users/banuser",
			component: __dynamicImportComponent__("@/pages/site-center/users/banuser.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-用户模块-解除异常
		{
			path: "/site-center/users/endException",
			component: __dynamicImportComponent__("@/pages/site-center/users/endException.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-用户模块-用户动态空间
		{
			path: "/site-center/users/space",
			component: __dynamicImportComponent__("@/pages/site-center/users/space.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-用户模块-用户动态空间
		{
			path: "/site-center/users/recharge",
			component: __dynamicImportComponent__("@/pages/site-center/users/recharge.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-内容模块-内容管理
		{
			path: "/site-center/contents/article/article",
			component: __dynamicImportComponent__("@/pages/site-center/contents/article/article.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-内容模块-文章管理-标签管理 
		{
			path: "/site-center/contents/article/metas",
			component: __dynamicImportComponent__("@/pages/site-center/contents/article/metas.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-内容模块-文章管理-标签编辑
		{
			path: "/site-center/contents/article/metasedit",
			component: __dynamicImportComponent__("@/pages/site-center/contents/article/metasedit.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-内容模块-评论管理
		{
			path: "/site-center/contents/comment/comments",
			component: __dynamicImportComponent__("@/pages/site-center/contents/comment/comments.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-内容模块-商品管理
		{
			path: "/site-center/contents/shop/shop",
			component: __dynamicImportComponent__("@/pages/site-center/contents/shop/shop.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-内容模块-商品管理-类型管理
		{
			path: "/site-center/contents/shop/shoptype",
			component: __dynamicImportComponent__("@/pages/site-center/contents/shop/shoptype.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-内容模块-商品管理-类型添加
		{
			path: "/site-center/contents/shop/shopTypeAdd",
			component: __dynamicImportComponent__("@/pages/site-center/contents/shop/shopTypeAdd.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-内容模块-商品管理-类型添加-上传图标
		{
			path: "/site-center/contents/shop/uploadHeadIcon",
			component: __dynamicImportComponent__("@/uni_modules/buuug7-img-cropper/pages/cropper.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-内容模块-广告管理
		{
			path: "/site-center/contents/ads/ads",
			component: __dynamicImportComponent__("@/pages/site-center/contents/ads/ads.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-内容模块-聊天室管理
		{
			path: "/site-center/contents/chat/chat",
			component: __dynamicImportComponent__("@/pages/site-center/contents/chat/chat.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			}),
			meta:{
				requireLogin:true
			}
		},
		//站点-内容模块-聊天室管理-创建群聊
		{
			path: "/site-center/contents/chat/addGroup",
			component: __dynamicImportComponent__("@/pages/site-center/contents/chat/addGroup.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-内容模块-动态管理
		{
			path: "/site-center/contents/space/space",
			component: __dynamicImportComponent__("@/pages/site-center/contents/space/space.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-财务模块-财务中心
		{
			path: "/site-center/finance/finance",
			component: __dynamicImportComponent__("@/pages/site-center/finance/finance.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-财务模块-财务中心
		{
			path: "/site-center/finance/recharge",
			component: __dynamicImportComponent__("@/pages/site-center/finance/recharge.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-财务模块-快捷冲扣
		{
			path: "/site-center/finance/withdraw",
			component: __dynamicImportComponent__("@/pages/site-center/finance/withdraw.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//站点-财务模块-财务中心
		{
			path: "/site-center/finance/tokenpay",
			component: __dynamicImportComponent__("@/pages/site-center/finance/tokenpay.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		//typecho 用户登录
		{
			path: "/user/typecho/login",
			component: __dynamicImportComponent__("@/pages/common/user/typecho/login.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/user/typecho/register",
			component: __dynamicImportComponent__("@/pages/common/user/typecho/register.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/user/typecho/foget",
			component: __dynamicImportComponent__("@/pages/common/user/typecho/foget.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/enter/agent-register/agent-register",
			component: __dynamicImportComponent__(
				"@/pages/common/enter/agent-register/agent-register.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/user/job-details/job-details",
			component: __dynamicImportComponent__("@/pages/job/user/job-details/job-details.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/job/publish/publish",
			component: __dynamicImportComponent__("@/pages/job/publish/publish.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/job/publish/publish-form",
			component: __dynamicImportComponent__("@/pages/job/publish/publish-form.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/job/jobs-public/jobs-public",
			component: __dynamicImportComponent__("@/pages/job/jobs-public/jobs-public.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/fields-demo",
			component: __dynamicImportComponent__("@/pages/fields-demo.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/field-options/field-options",
			component: __dynamicImportComponent__("@/components/field-options/field-options.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/job/my/my",
			component: __dynamicImportComponent__("@/pages/job/my/my.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/enter/user-enroll/user-enroll",
			component: __dynamicImportComponent__("@/pages/common/enter/user-enroll/user-enroll.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/job/publish/job-organize/job-organize",
			component: __dynamicImportComponent__("@/pages/job/publish/job-organize/job-organize.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			}),
			meta:{
				requireLogin:true
			}
		},
		{
			path: "/pages/job/publish/job-tasks/job-tasks",
			component: __dynamicImportComponent__("@/pages/job/publish/job-tasks/job-tasks.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/account/id_login/id_login",
			component: __dynamicImportComponent__("@/pages/account/id_login/id_login.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/account/account_login/account_login",
			component: __dynamicImportComponent__("@/pages/account/account_login/account_login.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/job/user/job-state/job-state",
			component: __dynamicImportComponent__("@/pages/job/user/job-state/job-state.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			}),
			meta: {
				requireLogin: true
			}
		},
		{
			path: "/pages/job/user/job-enrolls/job-enrolls",
			component: __dynamicImportComponent__("@/pages/job/user/job-enrolls/job-enrolls.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			}),
			meta: {
				requireLogin: true
			}
		},
		{
			path: "/pages/job/publish/job-projects/job-projects",
			component: __dynamicImportComponent__("@/pages/job/publish/job-projects/job-projects.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			}),
			meta:{
				requireLogin:true
			}
		},
		{
			path: "/pages/job/publish/add-job-form",
			component: __dynamicImportComponent__("@/pages/job/publish/add-job-form.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/job/publish/job-projects/job-project-edit",
			component: __dynamicImportComponent__("@/pages/job/publish/job-projects/job-project-edit.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/job/user/job-state/message",
			component: __dynamicImportComponent__("@/pages/job/user/job-state/message.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/index/square",
			component: __dynamicImportComponent__("@/pages/index/square.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/job/admin/admin",
			component: __dynamicImportComponent__("@/pages/job/admin/admin.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/user/login",
			component: __dynamicImportComponent__("@/pages/common/user/login.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/index/mqtt",
			component: __dynamicImportComponent__("@/pages/index/mqtt.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/chat/chat",
			component: __dynamicImportComponent__("@/pages/chat/chat.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/mine/user/user-info-setting/user-info-setting",
			component: __dynamicImportComponent__(
				"@/pages/mine/user/user-info-setting/user-info-setting.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-space/job-space",
			component: __dynamicImportComponent__("@/pages/job/publish/job-space/job-space.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/job/publish/job-offices/job-offices",
			component: __dynamicImportComponent__("@/pages/job/publish/job-offices/job-offices.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/job/publish/job-offices/post-view",
			component: __dynamicImportComponent__("@/pages/job/publish/job-offices/post-view.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/job/publish/job-offices/post-list",
			component: __dynamicImportComponent__("@/pages/job/publish/job-offices/post-list.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/job/publish/job-offices/select-history-record",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/select-history-record.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/send-office-msg/news-list-to-send",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/send-office-msg/news-list-to-send.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/send-office-msg/news-list-history",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/send-office-msg/news-list-history.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/news-manager/news-manager",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/news-manager/news-manager.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/news-manager/post-preview",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/news-manager/post-preview.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/post-manager/post-manager",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/post-manager/post-manager.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/post-manager/tasks-selector",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/post-manager/tasks-selector.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/post-manager/publish-preview",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/post-manager/publish-preview.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/post-manager/publish-form",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/post-manager/publish-form.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/post-manager/post-preview",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/post-manager/post-preview.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/post-preview",
			component: __dynamicImportComponent__("@/pages/job/publish/job-offices/post-preview.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/job/publish/job-offices/news-manager/select-post-draft",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/news-manager/select-post-draft.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/send-office-msg/post-send-preview",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/send-office-msg/post-send-preview.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/web-preview/web-preview",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/web-preview/web-preview.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/mp-preview/mp-preview",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/mp-preview/mp-preview.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/mp-preview/post-form",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/mp-preview/post-form.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/image-cropper",
			component: __dynamicImportComponent__("@/pages/job/publish/job-offices/image-cropper.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/job/publish/job-offices/office-monitor/office-setting",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/office-monitor/office-setting.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/office-monitor/office-create-form",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/office-monitor/office-create-form.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/office-monitor/office-modify-form",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/office-monitor/office-modify-form.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/wx_share",
			component: __dynamicImportComponent__("@/pages/job/publish/job-offices/wx_share.vue", {
				pageType: "top",
				style: {
					"navigationBarTitleText": "",
					"enablePullDownRefresh": false,
					"navigationStyle": "custom"
				}
			})
		},
		{
			path: "/pages/job/publish/job-offices/wx_chart_share_guide",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/wx_chart_share_guide.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		},
		{
			path: "/pages/job/publish/job-offices/browser_detect_jump",
			component: __dynamicImportComponent__(
				"@/pages/job/publish/job-offices/browser_detect_jump.vue", {
					pageType: "top",
					style: {
						"navigationBarTitleText": "",
						"enablePullDownRefresh": false,
						"navigationStyle": "custom"
					}
				})
		}
	]
})



// pages = pages.map(page => {
// 	return `###{
// 		path: '/' + ${page.path},
// 		component:__dynamicImportComponent__("@/${page.path}.vue",{ 
// 			pageType:"top",
// 			style :
// 			{
// 			   "navigationBarTitleText": "",
// 			    "enablePullDownRefresh": false,
// 				"navigationStyle":"custom"
// 			}
// 		})
// 	}###`
// })

//console.log(pages)

export default router